package com.lyt.springboot.designPattern.strategyPattern;


// 实现Post转发策略
class PostForwardingStrategy implements ForwardingStrategy {
    @Override
    public void forward(String message) {
        // 这里模拟Post转发逻辑
        System.out.println("Forwarding message via Post: " + message);
    }
}